﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Camc.OutsourceProcession.Migrations.SCDDb
{
    public partial class sad : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "EquipmentId",
                table: "ExecuteHistories");

            migrationBuilder.AddColumn<string>(
                name: "ProcessLocation",
                table: "ExecuteHistories",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ProcessLocation",
                table: "ExecuteHistories");

            migrationBuilder.AddColumn<long>(
                name: "EquipmentId",
                table: "ExecuteHistories",
                nullable: false,
                defaultValue: 0L);
        }
    }
}
